package com.bolt.core.view.tag;


import com.bolt.common.utils.SpringContextUtil;
import com.bolt.core.view.components.ComponentsBase;
import com.bolt.core.view.components.HiddenText;

public class HiddenInputTag extends InputTag {

    @Override
    public ComponentsBase getUI() {
        HiddenText hidden = new HiddenText();
        hidden.setId(getId());
        hidden.setName(getName());
        SpringContextUtil.inject(hidden);
        return hidden;
    }

}
